import request from '@/utils/request'


export function login(params) {
  return request({
    url: `/user/login?username=${params.username}&password=${params.password}`,
    method: 'post'
  })
}